package com.jz.netthings.bloodsources.service;

import com.jz.netthings.application.bodyCheck.bean.MyPage;
import com.jz.netthings.bloodsources.bean.XyFiveLink;
import com.baomidou.mybatisplus.service.IService;
import com.jz.netthings.bloodsources.bean.XyLink;
import com.jz.netthings.bloodsources.bean.XyReturnVisit;
import com.jz.netthings.exception.AdscmSystemException;
import com.jz.netthings.security.utils.Token;

/**
 * <p>
 * 五步链接记录 服务类
 * </p>
 *
 * @author 张凡
 * @since 2019-08-03
 */
public interface XyFiveLinkService extends IService<XyFiveLink> {
    MyPage<XyFiveLink> queryByCondition(
            Integer nurseId,
            String nurseName,
            String nurseDeptId,
            String providerName,
            String createTimeLess,
            String createTimeGreater,
            String linkTimeLess,
            String linkTimeGreater,
            String isComplete,
            String currentPage,
            String pageSize) throws AdscmSystemException;
    /**
     * 修改五步链接信息
     * @param xyFiveLink
     * @return
     * @throws AdscmSystemException
     */
    Boolean updateXyFiveLinkInfo(XyFiveLink xyFiveLink)throws AdscmSystemException;

    /**
     * 存储五步链接信息
     * @param xyFiveLink
     * @param token
     * @return
     * @throws AdscmSystemException
     */
    Boolean insertXyLinkInfo(XyFiveLink xyFiveLink, Token token)throws AdscmSystemException;
}
